import request from '@/axios/request';
import url from '@/axios/url';
const { wmsUrl, adminUrl } = url();
// 导出url
export const exportUrl = `${wmsUrl}wmsReceiveNoticeOrderDetail/export`
// 分页查询
export function getList(params = {}) {
    return request({
      url: `${wmsUrl}wmsReceiveNoticeOrderDetail`,
      method: 'get',
      params,
    });
  }
export function getcheckTypeList() {
  return request({
    url: `${adminUrl}dict/type/quality_type`,
    method: "get",
  });
}
  // 查询库区编码列表
export function getAreaCodeList(params = {}) {
    return request({
      url: `${serviceUrl}baseArea/list`,
      method: 'get',
      params,
    });
  }

  // 获取仓库信息
  export function getCurrentWarehouseCode() {
    return request({
      url: `${wmsUrl}basic`,
      method: 'get',
    });
  }

  // 查询库位列表
  export function getLocationCodeList(params = {}) {
    return request({
      url: `${serviceUrl}baseLocation/list`,
      method: "get",
      params,
    });
  }
